[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "api002.nas"]

    GLOBAL _api_putstr

[SECTION .text]

_api_putstr:    ; void api_putstr(char *s);
    push ebx
    mov edx, 2
    mov ebx, [esp+8]	; s
    int 40h
    pop ebx
    ret
